<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0030)http://www.miui.com/index.html -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta property="qc:admins" content="1403742620626643623270454" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">        
<title>MIUI官方论坛 - MIUI论坛</title>
<meta name="keywords" content="MIUI,xiaomi,小米,MIUI刷机,MIUI8,小米手机,小米手机5,红米手机小米刷机,安卓论坛,小米论坛">
<meta name="generator" content="Discuz! X3">
<meta name="author" content="Discuz! Team and Comsenz UI Team">
<meta name="copyright" content="2001-2013 Comsenz Inc.">
<meta name="MSSmartTagsPreventParsing" content="True">
<meta http-equiv="MSThemeCompatible" content="Yes">
<!--<base href="http://www.miui.com/">-->
<base href=".">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_common.css">
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/style_6_forum_newindex.css">
<script type="text/javascript" async="" src="/miui/Public/Home/js/ga.js"></script>
<script src="/miui/Public/Home/js/hm.js"></script>
<script type="text/javascript" async="" charset="utf-8" src="/miui/Public/Home/js/core.php"></script>
<script type="text/javascript">
    var STYLEID = '6', STATICURL = 'static/', IMGDIR = 'http://static.bbs.miui.com/static/image/miui/base', VERHASH = 'qck', charset = 'utf-8', discuz_uid = '0', cookiepre = 'MIUI_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'login|newthread', creditnotice = '1|经验|米,2|威望|米,3|贡献|米,4|小米粒|米', defaultstyle = '', REPORTURL = 'aHR0cDovL3d3dy5taXVpLmNvbS9pbmRleC5odG1s', SITEURL = 'http://www.miui.com/', JSPATH = 'http://static.bbs.miui.com/static/js/', DYNAMICURL = '';
</script>
<!-- <script src="/miui/Public/Home/js/common.js" type="text/javascript"></script> -->
<meta name="application-name" content="MIUI论坛">
<meta name="msapplication-tooltip" content="MIUI论坛">
<meta name="msapplication-task" content="name=门户;action-uri=http://www.miui.com/portal.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/portal.ico">
<meta name="msapplication-task" content="name=新帖;action-uri=http://www.miui.com/forum.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/bbs.ico">
<meta name="msapplication-task" content="name=俱乐部;action-uri=http://www.miui.com/group.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/group.ico">
<meta name="msapplication-task" content="name=个人中心;action-uri=http://www.miui.com/home.php;icon-uri=http://www.miui.com/http://static.bbs.miui.com/static/image/miui/base/home.ico">
<link rel="archives" title="MIUI论坛" href="http://www.miui.com/archiver/">
<script src="/miui/Public/Home/js/forum.js" type="text/javascript">//var src = /miui/Public/Home/image/nv.png;</script>
</head>

<body id="nv_forum" class="pg_newindex" onkeydown="if(event.keyCode==27) return false;">
    <div id="append_parent"></div><div id="ajaxwaitid"></div>
    <div id="hd">         
        <div class="wp" id="hd_wp">
            <div class="hdc cl">
                <h2><a href="http://www.miui.com/index.html" title="MIUI论坛"><img src="/miui/Public/Home/image/logo.png" alt="MIUI论坛" border="0"></a></h2>
                <div id="um">
                    <div class="p">
                        <?php if(empty($_SESSION['username'])): ?><div class="hd_di1">
                                <a href="<?php echo U('User/login');?>">登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/regist');?>">注册</a>
                            </div>
                        <?php else: ?>
                            <div class="hd_di1">
                                <b>欢迎 <?php echo ($_SESSION['username']); ?> !</b>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('User/logout');?>">退出登录</a>
                                <span class="pipe">|</span>
                                <a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>">个人中心</a>
                            </div><?php endif; ?>    
                        <div class="hd_di1" style="margin-right:2px;">
                        </div>
                        <div class="hd_di1" style="line-height:28px;">
                            <a href="javascript:;" id="switchwidth" onclick="widthauto(this)" title="切换到宽版" class="switchwidth">切换到宽版</a>
                        </div>
                    </div>
                    <div style="clear:both"></div>
                    <div id="searchbar">
                        <form id="scbar_form" method="post" autocomplete="off" onsubmit="searchFocus($(&#39;scbar_txt&#39;))" action="http://www.miui.com/search.php?searchsubmit=yes" target="_blank">
                            <input type="hidden" name="mod" id="scbar_mod" value="search">
                            <input type="hidden" name="formhash" value="69fa01e2">
                            <input type="hidden" name="srchtype" value="title">
                            <input type="hidden" name="srhfid" value="0">
                            <input type="hidden" name="srhlocality" value="forum::newindex">
                            <input type="text" name="srchtxt" id="scbar_txt" value="搜索" autocomplete="off" placeholder="搜索">
                            <input type="submit" name="searchsubmit" id="scbar_submit" value="1">
                        <script type="text/javascript">
                        MIUI_initSearchmenu('scbar', '');
                        </script>
                        </form>
                    </div>
                </div>
            </div>

             <div id="nv">
                <ul><li class="a" id="mn_Neacf"><a href="<?php echo U('Index/index');?>" hidefocus="true">首页</a></li><li id="mn_forum"><a href="<?php echo U('Index/bbsIndex');?>" hidefocus="true">新帖</a></li><li id="mn_N30f4"><a href="<?php echo U('BBStype/bbsType');?>" hidefocus="true">全部版块</a></li><?php if(is_array($dataType)): $i = 0; $__LIST__ = $dataType;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><li id="mn_N8e4f"><a href="<?php echo U('Home/BBStype/bbsView',array('tid'=>$v[tid]));?>" hidefocus="true" title="MIUI"><?php echo ($v["tname"]); ?><span><?php echo ($v["tname"]); ?></span></a></li><?php endforeach; endif; else: echo "" ;endif; ?><li id="mn_Nf9f9"><a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>" hidefocus="true" title="Friday">个人中心<span>Friday</span></a></li><li id="mn_N077a"><a href="<?php echo U('Index/HealthNews');?>" hidefocus="true" target="_blank">生活资讯</a></li></ul>
            </div>
            <div class="p_pop h_pop" id="mn_userapp_menu" style="display: none"></div><div id="mu" class="cl">
            </div><!-- common/pubsearchfor___debug___m --></div>
            <div id="nv_fixed"></div>
        </div>
        <script src="/miui/Public/Home/js/header_extend.js" type="text/javascript"></script>
        
        <div id="wp" class="wp">
            <link rel="stylesheet" href="/miui/Public/Home/css/reset.css">
            <link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/right.css">
            <link rel="stylesheet" href="/miui/Public/Home/css/index.css">
            <script src="/miui/Public/Home/js/jquery.1.7.1.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/jqeury.qrcode.min.js" type="text/javascript"></script>
            <script src="/miui/Public/Home/js/index.js" type="text/javascript"></script>
            <script type="text/javascript" src="/miui/Public/Home/js/jquery-1.8.3.min.js"></script>
    
        <div class="main">
            <div class="py_lunbo">
            <div class="py_lunbo_container" value="0" style="left: -960px;">
                <?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo ($vo["href"]); ?>"><img width="960px" height="350px" src="/miui/Public/Home/image/LunBoTu/<?php echo ($vo["image"]); ?>" alt="<?php echo ($vo["alt"]); ?>" title="<?php echo ($vo["alt"]); ?>"></a><?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <div class="prev" style="display: none;"></div>
            <div class="next" style="display: none;"></div>
            <div class="points"><div class=""></div><div class="current_pointer"></div><div></div><div></div></div>
            </div>
            <div class="banner_links">
                <a href="http://www.miui.com/thread-4820887-1-1.html?from=bbsbannerm"><img src="/miui/Public/Home/image/170733q05ckdohpz2o909p.png" alt="全方位体验MIUI8相机功能：细节打动人心" title="全方位体验MIUI8相机功能：细节打动人心"></a>
                <a href="http://www.miui.com/thread-4801929-1-1.html?from=bbsbannerm"><img src="/miui/Public/Home/image/115555s00c690i6t67ll78.png" alt="MIUI 第292周更新预告" title="MIUI 第292周更新预告"></a>
                <a href="http://www.miui.com/thread-4738951-1-1.html?from=bbsbannerm" class="banner_link_last"><img src="/miui/Public/Home/image/174703qjef9sgyrnigfbsg.png" alt="小米公交正式上线！官方宣传片深圳拍摄全记录" title="小米公交正式上线！官方宣传片深圳拍摄全记录"></a>
            </div>
            <div class="main_content">
                <div id="left_content" class="left">
                    <div class="article">
                        <h3><a href="http://www.miui.com/thread-4818330-1-1.html?from=bbsindex">活动报名 | MIUI 8 &amp; 智米落地扇 全国体验会</a></h3>
                        <a href="http://www.miui.com/thread-4818330-1-1.html?from=bbsindex">
                            <img width="627" src="/miui/Public/Home/image/120558k5shy28s9h22z69y.jpg" alt="活动报名 | MIUI 8 &amp; 智米落地扇 全国体验会" title="活动报名 | MIUI 8 &amp; 智米落地扇 全国体验会"></a>
                        <p>我们准备了15个城市参与本次主题活动，快快找到属于你的坐标吧!</p>
                        <div class="article_info clearfix">
                            <p class="article_info_left">
                                <a href="http://www.miui.com/space-uid-5000222.html">
                                <img src="/miui/Public/Home/image/22_avatar_middle.jpg" onerror="this.onerror=null;this.src=&#39;http://ucenter.miui.com/uc_server16/images/noavatar_middle.gif&#39;">                            
                                <span class="author">超级行星</span></a>
                                <span>发布于 2016-7-7 10:35</span>
                            </p>
                            <p class="article_info_right">
                                <span class="article_info_right_0">54459</span>
                                <span class="article_info_right_1">510</span>
                                <span class="article_info_right_2">&nbsp;<strong class="share_notice"><em class="share_sina">新浪</em><em class="share_weixin">微信</em><em class="share_tencent">腾讯</em></strong></span>
                            </p>
                        </div>
                    </div>

                    <div class="pages">
                        <span class="page_current">1</span><a href="http://www.miui.com/index-2.html">2</a><a href="http://www.miui.com/index-3.html">3</a><a href="http://www.miui.com/index-4.html">4</a><a href="http://www.miui.com/index-5.html">5</a><a href="http://www.miui.com/index-6.html">6</a><a href="http://www.miui.com/index-7.html">7</a><span>...</span><a href="http://www.miui.com/index-2.html" title="下一页" class="page_next">&gt;</a>
                    </div>
                </div>
    
    
                <div id="float_right" class="right">
                    <div class="big_post_btn">
                       <a href="<?php echo U('BBSinvit/BBSinvitAddView');?>" onclick="showWindow(&#39;nav&#39;,this.href,&#39;get&#39;,0)"></a>
                    </div>
                    <div class="punch_card">
                        <div class="part part_0" style="position:relative">
                            <div style="position:absolute;top:-90px;z-index:100" id="sign_show_area">
                            </div>
                            <!-- 如果控制器返回值等于0或者未登录 -->
                            <?php if($tag != 1): ?><div class="part_footer pf_sign" id="sign_area">
                                    <p class="pf_num"><span>4810579</span></p>
                                    <p class="pf_day">打卡领奖</p>
                                    <a class="pf_sign_link link_no_cursor" ></a>
                                </div>
                            <!-- 如果控制器返回1表示今天已签到 -->
                            <?php else: ?>
                                <div class="part_footer pf_signed" id="sign_area">
                                    <p class="pf_num"><span>4810579</span></p>
                                    <p class="pf_day">打卡领奖</p>
                                    <a class="pf_sign_link link_no_cursor" ></a>
                                </div><?php endif; ?>
                        </div>
                    </div>
                    <script type="text/javascript">
                    $(".pf_sign_link").on("click", function() {
                        $.ajax({
                            type:'GET',
                            url:"<?php echo U('User/score');?>",
                            success:function(data)
                            {
                                if (data == '0') {
                                    alert('请先登录!');
                                    return false;
                                }else{
                                    // 如果已经签到按钮变为已签到
                                    jQuery("#sign_area").removeClass("pf_sign").addClass("pf_signed");
                                    // 按钮不能点击
                                    jQuery(".pf_sign_link").off("click");
                                }
                                
                            },
                        })  
                    });

                    </script>
                    <div class="update_version">
                        <h2>MIUI已持续更新291周</h2>
                        <h3><a href="http://www.miui.com/thread-4748270-1-1.html" target="_blank">最新版：6.6.30</a></h3>
                       <div class="clearfix">
                            <a href="<?php echo U('Download/index');?>" class="download_link">ROM下载</a>
                            <a href="http://www.miui.com/shuaji.html" class="version_rec">刷机教程</a>
                        </div>
                    </div>
                    <div class="recommend_section">
                        <h2 class="right_title">推荐版块</h2>
                        <div class="clearfix">
                            <div class="module cl xl xl2">
                                <ul><li class="lc"><a href="http://www.miui.com/forum-587-1.html" title="红米Note 3" target="_self">红米Note 3</a></li></ul>
                            </div>                    
                        </div>
                        <a href="http://www.miui.com/forum.php?forumlist=1" target="_self" class="all_section">所有版块&nbsp;&gt;</a>
                    </div>
                                    
                    <div class="hot_posts">
                        <h2 class="right_title">热帖排行</h2>
                        <div class="hot_posts_article">
                            <ul class="u_article" style="margin-top:8px"><li><a href="http://www.miui.com/thread-3415047-1-1.html" title="近期“回复可见”的灌水处理公告" target="_blank">近期“回复可见”的灌水处理公告</a></li></ul>
                        </div>
                    </div>
                </div>
                <div style="clear: both; "></div>
            </div>
        </div>

        
        <script type="text/javascript">
            _attachEvent($('weixin_title'), 'click', function (event) {
                var t = $('weixin_logo');
                var te = $('weixin_title');
                event.stopPropagation();
                if(t.style.display != 'block'){
                    t.style.display = 'block';
                    te.style.fontWeight = 'bold';
                    te.style.color = '#4c4c4c';
                }else{
                    t.style.display = 'none';
                    te.style.fontWeight = 'normal';
                    te.style.color = '#909090';
                }
            });

            jQuery(function() {
                var SignAjax = Ajax("JSON");

                
                jQuery(document).on("click", "#lottery_step_0", function() {
                    SignAjax.get('extra.php?mod=sign/index&op=signlottery', SignAjaxCallback.signlottery);
                });
                jQuery(document).on("click", "#lottery_step_1", function() {
                    jQuery("#sign_show_area").html("");
                });
                jQuery(document).on("click", "#lottery_step_2", function() {
                    showWindow('__signconfirmarea__', 'extra.php?mod=sign/index&op=confirmlottery', 'get', 0);
                    setTimeout(function() {jQuery("#sign_show_area").html("");}, 1000);
                });
                var SignAjaxCallback = {
                    sign : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (!res.lottery) {
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        } else {
                            jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                            jQuery("#ct").children("div.sd").css("overflow", "visible");
                        }
                        jQuery(".pf_num>span").html(parseInt(jQuery(".pf_num>span").html()) + 1);
                        
                        
                        
                        jQuery(".link_no_cursor").css("cursor", "default");
                        jQuery(".pf_sign_rank").attr("href", "extra.php?mod=sign/rank");
                    },

                    signlottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        if (jQuery("#lottery_step_1").get(0)) {
                            jQuery(".pf_sign_link").remove();
                            setTimeout(function() {jQuery("#sign_show_area").html("");}, 3000);
                        }
                    },

                    checklottery : function(res) {
                        if (res.error == 0) {
                            showWindow('__signarea__', '/extra.php?mod=sign/index&op=error&msg=' + res.message, 'get', 0);
                            return;
                        }
                        jQuery("#sign_show_area").html(res.template);
                        jQuery("#sign_show_area").css("top", res.lotterytype ? "-182px" : "-242px");
                        jQuery("#ct").children("div.sd").css("overflow", "visible");
                        jQuery(".pf_sign_link").off("click");
                    }
                }
            })
    _attachEvent(window, 'scroll', function () {
    var right_fixed = $('float_right');
    var left_content = $('left_content');
    var viewPortHeight = parseInt(document.documentElement.clientHeight);
    var scrollHeight = parseInt(document.body.getBoundingClientRect().top);
    var sw = right_fixed.clientWidth;
    var sh = right_fixed.clientHeight;
    var basew = parseInt(left_content.clientWidth);

    var divs = right_fixed.getElementsByTagName('div');
    if(scrollHeight < -600 - sh){
    right_fixed.style.position = 'fixed';
    right_fixed.style.top = '58px';
    var left = parseInt(fetchOffset(left_content)['left']);
    right_fixed.style.left = ( basew + left + 13) + 'px';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'none';
    }
    }
    }else{
    right_fixed.style.position = '';
    for(i=0;i<divs.length;i++){
    if(divs[i].className == 'hot_activity' || divs[i].className == 'hot_posts' || divs[i].className == 'focus_us'){
    divs[i].style.display = 'block';
    }
    }
    }
    });
        </script>
        <script>fixed_top_nv();</script>    </div>
    
    <div id="ft" class="cl">
    <!--页面高度不能撑满屏幕时，设置footer的位置在最底边-->
    <script>
    var screenHeight = screenWidth = 0;
    if(document.documentElement.clientHeight){
    screenHeight = document.documentElement.clientHeight;
    screenWidth = document.documentElement.clientWidth;
    }else{
    screenWidth = document.body.clientWidth;
    screenHeight = document.body.clientHeight;
    }

    var fttop = document.getElementById('ft').offsetTop;
    if((fttop+65)<screenHeight){
    if(document.getElementById('wp')){
    var header_footer_height = document.getElementById('hd').offsetHeight + document.getElementById('ft').offsetHeight;                
    document.getElementById('wp').style.minHeight = (screenHeight-header_footer_height - 21) + 'px';
    }else if(document.getElementById('ct')){
    var header_footer_height = document.getElementById('toptb').offsetHeight + document.getElementById('hd').offsetHeight + document.getElementById('ft').offsetHeight;                
    document.getElementById('ct').style.minHeight = (screenHeight-header_footer_height - 66) + 'px';
    }else{
    document.getElementById('ft').style.position = 'absolute';
    document.getElementById('ft').style.top = (screenHeight-66) + 'px';
    document.getElementById('ft').style.width = '100%';
    }
    }
    </script>
    <!--设置footer end-->
    <div class="wp" id="footer">
    <div id="flk"><div style="float: left;"><img src="/miui/Public/Home/image/footer_title.png"></div>
    <div style="display: inline;">
        <?php if(is_array($youqing)): $i = 0; $__LIST__ = $youqing;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><span class="pipe">|</span><a href="<?php echo ($vo["address"]); ?>" target="_blank"><?php echo ($vo["name"]); ?></a><span class="pipe">|</span><?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
    <div style="float: right;color: #7e7e7e;">
    Copyright ? 2016 MIUI
    </div>
    <div style="padding-left: 28px; color: #7e7e7e;">
    京ICP备10046444号 | 京公网安备11010802020134号 | 京ICP证110507号</div>
    <div style="display:none;">
    &nbsp;<a href="http://discuz.qq.com/service/security" target="_blank" title="防水墙保卫网站远离侵害"><img src="/miui/Public/Home/image/security.png"></a></div>
    <div style="display:none;"><div style="display:none;">
    <script src="/miui/Public/Home/js/stat.php" type="text/javascript"></script><script src="/miui/Public/Home/js/core(1).php" charset="utf-8" type="text/javascript"></script><a href="http://www.cnzz.com/stat/website.php?web_id=2441309" target="_blank" title="站长统计"><img border="0" hspace="0" vspace="0" src="/miui/Public/Home/image/pic.gif"></a>
    <script src="/miui/Public/Home/js/c.php" language="JavaScript"></script>

    </div></div>
    <div style="display:none;">
        
    </div>
    <p class="xs0">                
    </p>
    </div></div>
    </div>
    <script src="/miui/Public/Home/js/home.php" type="text/javascript"></script>
    <div id="scrolltop">
    <span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo(&#39;0&#39;,&#39;0&#39;)" class="scrolltopa"><b>返回顶部</b></a></span>
    </div>
    <script type="text/javascript"></script>
                <div id="discuz_tips" style="display:none;"></div>
                <script type="text/javascript">
                    var tipsinfo = '10755402|X3|0.6||0||0|7|1468154921|d05fdab39b9072e43149e42e529c6409|2';
                </script>
                <script src="/miui/Public/Home/js/discuz_tips.js" type="text/javascript" charset="UTF-8"></script>

</body></html>